package com.ilearn.iodata.iolingo.constant;

import org.springframework.stereotype.Component;

@Component()
//@ConfigurationProperties(prefix="odata")
public class OdataConst {

    public static String NAMESPACE="chinabond.svc";

    public static String CONTAINER_NAME="container";


    public static final String firstAlias = "e1";
    public static final String secondAlias = "e2";


    /*public static String getNAMESPACE() {
        return NAMESPACE;
    }

    @Value("${odata.namespace}")
    public void setNAMESPACE(String namespace) {
        OdataProperties.NAMESPACE = namespace;
    }

    public static String getContainerName() {
        return CONTAINER_NAME;
    }

    @Value("${odata.container}")
    public void setContainerName(String containerName) {
        CONTAINER_NAME = containerName;
    }

    public void check() {
        System.out.println("pnp:" + NAMESPACE + " pcn:" + CONTAINER_NAME);
    }*/
}
